package com.hjxr.sysadmin.zsj.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hjxr.framework.aspectj.lang.annotation.Excel;
import com.hjxr.sysadmin.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 拜访信息对象 callon
 *
 * @author zc
 * @date 2021-03-22
 */
public class Callon extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 拜访ID */
    private Long callonId;

    /** 拜访人 */
    @Excel(name = "拜访人")
    private String visitorName;

    /** 拜访人列表 */
    @Excel(name = "拜访人列表")
    private String[] visitorNames;

    /** 被拜访人 */
    @Excel(name = "被拜访人")
    private String visitedPerson;

    /** 被拜访人列表 */
    @Excel(name = "被拜访人列表")
    private String[] visitedPersons;

    /** 拜访开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "拜访开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date callonStartTime;

    /** 拜访结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "拜访结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date callonEndTime;

    /** 拜访企业 */
    @Excel(name = "拜访企业")
    private String callonCompany;

    /** 拜访企业id */
    @Excel(name = "拜访企业id")
    private String companyId;

    /** 拜访参加领导 */
    @Excel(name = "拜访参加领导")
    private String callonJoinperson;

    /** 商谈事宜 */
    @Excel(name = "商谈事宜")
    private String callonNote;

    /** 拜访附件 */
    @Excel(name = "拜访附件")
    private String callonAttachment;

    /** 拜访附件真实地址 */
    @Excel(name = "拜访附件真实地址")
    private String realAttachment;

    /** 是否推荐给领导 0不推荐 1推荐 */
    @Excel(name = "是否推荐给领导 0不推荐 1推荐")
    private Integer callonRecommend;

    public void setCallonId(Long callonId)
    {
        this.callonId = callonId;
    }

    public Long getCallonId()
    {
        return callonId;
    }
    public void setVisitorName(String visitorName)
    {
        this.visitorName = visitorName;
    }

    public String getVisitorName()
    {
        return visitorName;
    }
    public void setVisitorNames(String[] visitorNames)
    {
        this.visitorNames = visitorNames;
    }

    public String[] getVisitorNames()
    {
        return visitorNames;
    }
    public void setVisitedPerson(String visitedPerson)
    {
        this.visitedPerson = visitedPerson;
    }

    public String getVisitedPerson()
    {
        return visitedPerson;
    }
    public void setVisitedPersons(String[] visitedPersons)
    {
        this.visitedPersons = visitedPersons;
    }

    public String[] getVisitedPersons()
    {
        return visitedPersons;
    }
    public void setCallonStartTime(Date callonStartTime)
    {
        this.callonStartTime = callonStartTime;
    }

    public Date getCallonStartTime()
    {
        return callonStartTime;
    }
    public void setCallonEndTime(Date callonEndTime)
    {
        this.callonEndTime = callonEndTime;
    }

    public Date getCallonEndTime()
    {
        return callonEndTime;
    }
    public void setCallonCompany(String callonCompany)
    {
        this.callonCompany = callonCompany;
    }

    public String getCallonCompany()
    {
        return callonCompany;
    }
    public void setCompanyId(String companyId)
    {
        this.companyId = companyId;
    }

    public String getCompanyId()
    {
        return companyId;
    }
    public void setCallonJoinperson(String callonJoinperson)
    {
        this.callonJoinperson = callonJoinperson;
    }

    public String getCallonJoinperson()
    {
        return callonJoinperson;
    }
    public void setCallonNote(String callonNote)
    {
        this.callonNote = callonNote;
    }

    public String getCallonNote()
    {
        return callonNote;
    }
    public void setCallonAttachment(String callonAttachment)
    {
        this.callonAttachment = callonAttachment;
    }

    public String getCallonAttachment()
    {
        return callonAttachment;
    }
    public void setRealAttachment(String realAttachment)
    {
        this.realAttachment = realAttachment;
    }

    public String getRealAttachment()
    {
        return realAttachment;
    }
    public void setCallonRecommend(Integer callonRecommend)
    {
        this.callonRecommend = callonRecommend;
    }

    public Integer getCallonRecommend()
    {
        return callonRecommend;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("callonId", getCallonId())
            .append("visitorName", getVisitorName())
            .append("visitedPerson", getVisitedPerson())
            .append("callonStartTime", getCallonStartTime())
            .append("callonEndTime", getCallonEndTime())
            .append("callonCompany", getCallonCompany())
            .append("companyId", getCompanyId())
            .append("callonJoinperson", getCallonJoinperson())
            .append("callonNote", getCallonNote())
            .append("callonAttachment", getCallonAttachment())
            .append("realAttachment", getRealAttachment())
            .append("callonRecommend", getCallonRecommend())
            .toString();
    }
}
